# RUN: llvm-mc --disassemble %s -triple=i686 -x86-asm-syntax=intel --output-asm-variant=1 | FileCheck %s

# CHECK: vcvtne2ps2bf16 ymm2, ymm3, ymm4
0x62,0xf2,0x67,0x28,0x72,0xd4

# CHECK: vcvtne2ps2bf16 ymm2 {k7}, ymm3, ymm4
0x62,0xf2,0x67,0x2f,0x72,0xd4

# CHECK: vcvtne2ps2bf16 ymm2 {k7} {z}, ymm3, ymm4
0x62,0xf2,0x67,0xaf,0x72,0xd4

# CHECK: vcvtne2ps2bf16 xmm2, xmm3, xmm4
0x62,0xf2,0x67,0x08,0x72,0xd4

# CHECK: vcvtne2ps2bf16 xmm2 {k7}, xmm3, xmm4
0x62,0xf2,0x67,0x0f,0x72,0xd4

# CHECK: vcvtne2ps2bf16 xmm2 {k7} {z}, xmm3, xmm4
0x62,0xf2,0x67,0x8f,0x72,0xd4

# CHECK: vcvtne2ps2bf16 ymm2, ymm3, ymmword ptr [esp + 8*esi + 268435456]
0x62,0xf2,0x67,0x28,0x72,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK: vcvtne2ps2bf16 ymm2 {k7}, ymm3, ymmword ptr [edi + 4*eax + 291]
0x62,0xf2,0x67,0x2f,0x72,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK: vcvtne2ps2bf16 ymm2, ymm3, dword ptr [eax]{1to8}
0x62,0xf2,0x67,0x38,0x72,0x10

# CHECK: vcvtne2ps2bf16 ymm2, ymm3, ymmword ptr [2*ebp - 1024]
0x62,0xf2,0x67,0x28,0x72,0x14,0x6d,0x00,0xfc,0xff,0xff

# CHECK: vcvtne2ps2bf16 ymm2 {k7} {z}, ymm3, ymmword ptr [ecx + 4064]
0x62,0xf2,0x67,0xaf,0x72,0x51,0x7f

# CHECK: vcvtne2ps2bf16 ymm2 {k7} {z}, ymm3, dword ptr [edx - 512]{1to8}
0x62,0xf2,0x67,0xbf,0x72,0x52,0x80

# CHECK: vcvtne2ps2bf16 xmm2, xmm3, xmmword ptr [esp + 8*esi + 268435456]
0x62,0xf2,0x67,0x08,0x72,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK: vcvtne2ps2bf16 xmm2 {k7}, xmm3, xmmword ptr [edi + 4*eax + 291]
0x62,0xf2,0x67,0x0f,0x72,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK: vcvtne2ps2bf16 xmm2, xmm3, dword ptr [eax]{1to4}
0x62,0xf2,0x67,0x18,0x72,0x10

# CHECK: vcvtne2ps2bf16 xmm2, xmm3, xmmword ptr [2*ebp - 512]
0x62,0xf2,0x67,0x08,0x72,0x14,0x6d,0x00,0xfe,0xff,0xff

# CHECK: vcvtne2ps2bf16 xmm2 {k7} {z}, xmm3, xmmword ptr [ecx + 2032]
0x62,0xf2,0x67,0x8f,0x72,0x51,0x7f

# CHECK: vcvtne2ps2bf16 xmm2 {k7} {z}, xmm3, dword ptr [edx - 512]{1to4}
0x62,0xf2,0x67,0x9f,0x72,0x52,0x80

# CHECK: vcvtneps2bf16 xmm2, xmm3
0x62,0xf2,0x7e,0x08,0x72,0xd3

# CHECK: vcvtneps2bf16 xmm2 {k7}, xmm3
0x62,0xf2,0x7e,0x0f,0x72,0xd3

# CHECK: vcvtneps2bf16 xmm2 {k7} {z}, xmm3
0x62,0xf2,0x7e,0x8f,0x72,0xd3

# CHECK: vcvtneps2bf16 xmm2, ymm3
0x62,0xf2,0x7e,0x28,0x72,0xd3

# CHECK: vcvtneps2bf16 xmm2 {k7}, ymm3
0x62,0xf2,0x7e,0x2f,0x72,0xd3

# CHECK: vcvtneps2bf16 xmm2 {k7} {z}, ymm3
0x62,0xf2,0x7e,0xaf,0x72,0xd3

# CHECK: vcvtneps2bf16 xmm2, xmmword ptr [esp + 8*esi + 268435456]
0x62,0xf2,0x7e,0x08,0x72,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK: vcvtneps2bf16 xmm2 {k7}, xmmword ptr [edi + 4*eax + 291]
0x62,0xf2,0x7e,0x0f,0x72,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK: vcvtneps2bf16 xmm2, dword ptr [eax]{1to4}
0x62,0xf2,0x7e,0x18,0x72,0x10

# CHECK: vcvtneps2bf16 xmm2, xmmword ptr [2*ebp - 512]
0x62,0xf2,0x7e,0x08,0x72,0x14,0x6d,0x00,0xfe,0xff,0xff

# CHECK: vcvtneps2bf16 xmm2 {k7} {z}, xmmword ptr [ecx + 2032]
0x62,0xf2,0x7e,0x8f,0x72,0x51,0x7f

# CHECK: vcvtneps2bf16 xmm2 {k7} {z}, dword ptr [edx - 512]{1to4}
0x62,0xf2,0x7e,0x9f,0x72,0x52,0x80

# CHECK: vcvtneps2bf16 xmm2, dword ptr [eax]{1to8}
0x62,0xf2,0x7e,0x38,0x72,0x10

# CHECK: vcvtneps2bf16 xmm2, ymmword ptr [2*ebp - 1024]
0x62,0xf2,0x7e,0x28,0x72,0x14,0x6d,0x00,0xfc,0xff,0xff

# CHECK: vcvtneps2bf16 xmm2 {k7} {z}, ymmword ptr [ecx + 4064]
0x62,0xf2,0x7e,0xaf,0x72,0x51,0x7f

# CHECK: vcvtneps2bf16 xmm2 {k7} {z}, dword ptr [edx - 512]{1to8}
0x62,0xf2,0x7e,0xbf,0x72,0x52,0x80

# CHECK: vdpbf16ps ymm2, ymm3, ymm4
0x62,0xf2,0x66,0x28,0x52,0xd4

# CHECK: vdpbf16ps ymm2 {k7}, ymm3, ymm4
0x62,0xf2,0x66,0x2f,0x52,0xd4

# CHECK: vdpbf16ps ymm2 {k7} {z}, ymm3, ymm4
0x62,0xf2,0x66,0xaf,0x52,0xd4

# CHECK: vdpbf16ps xmm2, xmm3, xmm4
0x62,0xf2,0x66,0x08,0x52,0xd4

# CHECK: vdpbf16ps xmm2 {k7}, xmm3, xmm4
0x62,0xf2,0x66,0x0f,0x52,0xd4

# CHECK: vdpbf16ps xmm2 {k7} {z}, xmm3, xmm4
0x62,0xf2,0x66,0x8f,0x52,0xd4

# CHECK: vdpbf16ps ymm2, ymm3, ymmword ptr [esp + 8*esi + 268435456]
0x62,0xf2,0x66,0x28,0x52,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK: vdpbf16ps ymm2 {k7}, ymm3, ymmword ptr [edi + 4*eax + 291]
0x62,0xf2,0x66,0x2f,0x52,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK: vdpbf16ps ymm2, ymm3, dword ptr [eax]{1to8}
0x62,0xf2,0x66,0x38,0x52,0x10

# CHECK: vdpbf16ps ymm2, ymm3, ymmword ptr [2*ebp - 1024]
0x62,0xf2,0x66,0x28,0x52,0x14,0x6d,0x00,0xfc,0xff,0xff

# CHECK: vdpbf16ps ymm2 {k7} {z}, ymm3, ymmword ptr [ecx + 4064]
0x62,0xf2,0x66,0xaf,0x52,0x51,0x7f

# CHECK: vdpbf16ps ymm2 {k7} {z}, ymm3, dword ptr [edx - 512]{1to8}
0x62,0xf2,0x66,0xbf,0x52,0x52,0x80

# CHECK: vdpbf16ps xmm2, xmm3, xmmword ptr [esp + 8*esi + 268435456]
0x62,0xf2,0x66,0x08,0x52,0x94,0xf4,0x00,0x00,0x00,0x10

# CHECK: vdpbf16ps xmm2 {k7}, xmm3, xmmword ptr [edi + 4*eax + 291]
0x62,0xf2,0x66,0x0f,0x52,0x94,0x87,0x23,0x01,0x00,0x00

# CHECK: vdpbf16ps xmm2, xmm3, dword ptr [eax]{1to4}
0x62,0xf2,0x66,0x18,0x52,0x10

# CHECK: vdpbf16ps xmm2, xmm3, xmmword ptr [2*ebp - 512]
0x62,0xf2,0x66,0x08,0x52,0x14,0x6d,0x00,0xfe,0xff,0xff

# CHECK: vdpbf16ps xmm2 {k7} {z}, xmm3, xmmword ptr [ecx + 2032]
0x62,0xf2,0x66,0x8f,0x52,0x51,0x7f

# CHECK: vdpbf16ps xmm2 {k7} {z}, xmm3, dword ptr [edx - 512]{1to4}
0x62,0xf2,0x66,0x9f,0x52,0x52,0x80
